var assert = require('assert');
var should = require('should');
var util = require('util');
var zlib = require('zlib');
var _ = require('lodash');
var soldierConf = require('../../app/config/soldierConf');
var dataApi = require('../../app/libs/dataApi');

suite('soldierConf', function () {
    // suite('getSoldierLvConf', function () {
    //     test('获取兵种等级数据', function () {
    //         assert.equal(soldierConf.getSoldierLvConf(1) != null, true);
    //         assert.equal(soldierConf.getSoldierLvConf(100) == null, true);
    //     });
    // });

    // suite('getSoldierLvConf', function () {
    //     test('获取士兵等级配置', function () {
    //         soldierConf.getSoldierLvConf(1, 1);
    //     });
    // });

    suite('getSoldierStarConf', function () {
        test('获取士兵等级配置', function () {
            for (var x = 0; x < 10000; x++) {
                soldierConf.getSoldierStarConf(1001, 1);
            }
        });
    });
});
